package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Sumvo {

    // 用户id
    private  Long userId;

    // 角色id
    private  Long roleId;

    //用户名
    private  String nickName;

    //评价人
    private  Long raterNum;

    //员工能力维度
    private Double ability;

    //潜力与价值观
    private Double potential;

    //总分
    private Double sum;


      /** 考核日期 */
    @JsonFormat(pattern = "yyyy-MM")
    private String assessDate;

    public Sumvo(Long aLong, String s,  Double aLong2, Double aLong3,Double sum) {
        this.userId = aLong;
        this.nickName = s;
        this.ability = aLong2;
        this.potential = aLong3;
        this.sum = sum;
    }

    public Sumvo() {

    }

    public Sumvo(Long userId, Long roleId, String nickName, Long raterNum, Double ability, Double potential, Double sum, String assessDate) {
        this.userId = userId;
        this.roleId = roleId;
        this.nickName = nickName;
        this.raterNum = raterNum;
        this.ability = ability;
        this.potential = potential;
        this.sum = sum;
        this.assessDate = assessDate;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Long getRaterNum() {
        return raterNum;
    }

    public void setRaterNum(Long raterNum) {
        this.raterNum = raterNum;
    }

    public Double getAbility() {
        return ability;
    }

    public void setAbility(Double ability) {
        this.ability = ability;
    }

    public Double getPotential() {
        return potential;
    }

    public void setPotential(Double potential) {
        this.potential = potential;
    }

    public Double getSum() {
        return sum;
    }

    public void setSum(Double sum) {
        this.sum = sum;
    }

    public String getAssessDate() {
        return assessDate;
    }

    public void setAssessDate(String assessDate) {
        this.assessDate = assessDate;
    }

    @Override
    public String toString() {
        return "Sumvo{" +
                "userId=" + userId +
                ", roleId=" + roleId +
                ", nickName='" + nickName + '\'' +
                ", raterNum=" + raterNum +
                ", ability=" + ability +
                ", potential=" + potential +
                ", sum=" + sum +
                ", assessDate='" + assessDate + '\'' +
                '}';
    }

}
